﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PlanningGIS.MapSheet;
using PlanningGIS.MetaData;

namespace PlanningGIS.Product
{
    /// <summary>
    /// 产品数据总览配置
    /// </summary>
    public class ViewConfig
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        public ViewConfig()
        {
            ShowTK = true;
            AutoToShop = false;
        }

        /// <summary>
        /// 获取或设置数据类型
        /// </summary>
        public MetaDataType DataType { get; set; }

        /// <summary>
        /// 获取或设置图幅比例尺
        /// </summary>
        public SheetScale Scale { get; set; }

        /// <summary>
        /// 获取或设置是否显示图阔
        /// </summary>
        public bool ShowTK { get; set; }
        
        /// <summary>
        /// 自动添加到购物车
        /// </summary>
        public bool AutoToShop { get; set; }
        
    }
}
